package com.xiaozhen.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaozhen.blog.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @create 2023-04-22 10:49
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过用户账号获取用户信息
     */
    User selectByUsername(@Param("username") String username);
}
